package com.qiqidream.admin.system.model.dto;

import com.qiqidream.admin.common.entity.AuthJson;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户基础信息
 * @author QiQiDream
 * @since 2019/11/18 10:53
 */
@Data
public class UserDto {

	@ApiModelProperty(value = "主键ID")
	private Long id;

	@ApiModelProperty(value = "部门ID")
	private Long deptId;

	@ApiModelProperty(value = "账号")
	private String username;

	@ApiModelProperty(value = "登录密码")
	private String password;

	@ApiModelProperty(value = "昵称")
	private String nickName;

	@ApiModelProperty(value = "头像")
	private String avatar;

	@ApiModelProperty(value = "手机号码")
	private String phone;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "授权数据(JSON)")
	private AuthJson authJson;

	@ApiModelProperty(value = "是否启用")
	private Boolean enabled;

}
